package top.qitun.modal.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import top.qitun.model.request.RestfulRequest;

/**
 * @author Zhao Junjian
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class CartEventCreateRequest extends RestfulRequest {
	private static final long serialVersionUID = -1;

	@ApiModelProperty(value = "用户Id", example = "1", required = true)
	private Integer userId;// 用户Id
	@ApiModelProperty(value = "事件类型", example = "1", required = true)
	private java.lang.Object cartEventType;// 事件类型1.添加,2删除
	@ApiModelProperty(value = "产品Id", example = "1", required = true)
	private Integer productId;// 产品Id
	@ApiModelProperty(value = "数量", example = "1", required = true)
	private Integer quantity;// 数量

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public java.lang.Object getCartEventType() {
		return cartEventType;
	}

	public void setCartEventType(java.lang.Object cartEventType) {
		this.cartEventType = cartEventType;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

}
